package com.shop.domain;

import java.sql.Date;

import com.admin.domain.ItemCommand;
import com.member.domain.MemberCommand;

public class BuyCommand {
	
	private int b_orderno;
	private int b_amount;
	private int b_ea;
	private Date b_regdate;
	private String b_method;
	private String b_code;
	private String b_way;
	private String b_delivery;
	private String b_deliveryno;

	private MemberCommand memberCommand;
	private CartCommand cartCommand;
	private ItemCommand itemCommand;
	
	public int getB_orderno() {
		return b_orderno;
	}
	public void setB_orderno(int b_orderno) {
		this.b_orderno = b_orderno;
	}
	public int getB_amount() {
		return b_amount;
	}
	public void setB_amount(int b_amount) {
		this.b_amount = b_amount;
	}
	public int getB_ea() {
		return b_ea;
	}
	public void setB_ea(int b_ea) {
		this.b_ea = b_ea;
	}
	public Date getB_regdate() {
		return b_regdate;
	}
	public void setB_regdate(Date b_regdate) {
		this.b_regdate = b_regdate;
	}
	public String getB_method() {
		return b_method;
	}
	public void setB_method(String b_method) {
		this.b_method = b_method;
	}
	public String getB_code() {
		return b_code;
	}
	public void setB_code(String b_code) {
		this.b_code = b_code;
	}
	public String getB_way() {
		return b_way;
	}
	public void setB_way(String b_way) {
		this.b_way = b_way;
	}
	public MemberCommand getMemberCommand() {
		return memberCommand;
	}
	public void setMemberCommand(MemberCommand memberCommand) {
		this.memberCommand = memberCommand;
	}
	public CartCommand getCartCommand() {
		return cartCommand;
	}
	public void setCartCommand(CartCommand cartCommand) {
		this.cartCommand = cartCommand;
	}
	public ItemCommand getItemCommand() {
		return itemCommand;
	}
	public void setItemCommand(ItemCommand itemCommand) {
		this.itemCommand = itemCommand;
	}
	public String getB_delivery() {
		return b_delivery;
	}
	public void setB_delivery(String b_delivery) {
		this.b_delivery = b_delivery;
	}
	public String getB_deliveryno() {
		return b_deliveryno;
	}
	public void setB_deliveryno(String b_deliveryno) {
		this.b_deliveryno = b_deliveryno;
	}
	@Override
	public String toString() {
		return "BuyCommand [b_orderno=" + b_orderno + ", b_amount=" + b_amount
				+ ", b_ea=" + b_ea + ", b_regdate=" + b_regdate + ", b_method="
				+ b_method + ", b_code=" + b_code + ", b_way=" + b_way
				+ ", b_delivery=" + b_delivery + ", b_deliveryno="
				+ b_deliveryno + ", memberCommand=" + memberCommand
				+ ", cartCommand=" + cartCommand + ", itemCommand="
				+ itemCommand + "]";
	}

	
	
}
